::CODER BY yuanz POWERD BY iBAT
Setlocal enabledelayedexpansion
@echo off
mode con cols=80 lines=38
color 3F

echo ==========================
echo copy ssh
echo ==========================

md %UserProfile%\.ssh
xcopy .\ssh\.ssh\* %UserProfile%\.ssh\ /y
xcopy .\ssh\.gitconfig %UserProfile%\ /y


::echo ==========================
::echo test  connect
::echo ==========================
::set RegPath="HKEY_LOCAL_MACHINE\SOFTWARE\GitForWindows"
::for /f "tokens=3" %%j in ('REG QUERY %RegPath% /V "InstallPath"') do set path==%path%;%%j\usr\bin

::cd %UserProfile%
::ssh -T git@github.com

pause